// app/controller/user.js
const BaseController = require('../core/base_controller');

class ConfigController extends BaseController {
  //查询配置参数
  async get() {
    const { ctx } = this;
    const data = await ctx.service.config.findOne();

    this.success(data);
  }

}

module.exports = ConfigController;